home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / toolbox / angle next >
Text File  |  1994-02-21  |  139b  |  10 lines

  1. //
  2. // Caclulate phase angle of a complex value.
  3. // angle = atan2(imag,real)
  4. //
  5.  
  6. angle = function(a)
  7. {
  8.   return atan2(imag(a), real(a));
  9. };
  10.